package ooday004;

public class Master {
    void feed(Animal animal){
        animal.eat();
        animal.drink();

    }
    void feed(Dog dog){
        dog.eat();
        dog.drink();
    }

}